package com.itlaobing.aop.schema;

import java.util.logging.Logger;

public class UserDaoImpl implements UserDao {
    private Logger logger = Logger.getLogger(this.getClass().getName());

    @Override
    public boolean save(String user) {
        logger.info("保存" + user);
        return true;
    }

    @Override
    public void find(String username) {
        logger.info("查找" + username);
        logger.info(String.valueOf(100 / 0));
    }
}
